package cn.com.dycc.meeting_assist.meeting_info.dao;


import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.com.dycc.meeting_assist.meeting_info.entity.MeetingInfo;
import cn.com.dycc.meeting_assist.meeting_info.param.FindMeetingInfoParam;
import cn.com.dycc.meeting_assist.meeting_info.param.MeetingInfoParam;







/**
 * 
 * Description: 会议信息管理dao层
 * Author: Liket
 * Version: 1.0
 * Create Date Time: 2018年10月26日 上午10:01:45.
 * Update Date Time: 
 * @see
 */
@Repository("meetingInfoDao")
public interface MeetingInfoDao {
	
	int addMeetingInfo(MeetingInfo meetingInfo);
	int deleteMeetingInfo(
			@Param("meeting_id")String meeting_id,
			@Param("org_id")String org_id);
	int updateMeetingInfo(MeetingInfo meetingInfo);
	MeetingInfoParam findMeetingInfoById(
			@Param("meeting_id")String meeting_id,
			@Param("org_id")String org_id);
	
	List<MeetingInfoParam> findMeetingInfoByParam(FindMeetingInfoParam meetingInfo);
	String countMeetingInfoByParam(FindMeetingInfoParam meetingInfo);
	
	//查看当天至七天后会议
	List<MeetingInfoParam> findMeetingInfoWeek(String org_id);
	//查看当天至月末的会议
	List<MeetingInfoParam> findMeetingInfoMonth(String org_id);
	
	String countMeetingInfoWeek(String org_id);

	String countMeetingInfoMonth(String org_id);

	
	
}
